* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
}

/* layout */
.layout {
    height: 100vh;
    width: 100vw;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    transition: background-color 0.3s;
}

::-webkit-scrollbar-track:hover {
    background-color: var(--scrollbar-track-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb-color);
    transition: background-color 0.3s;
    border-radius: 4px;
    cursor: default;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-color-hover);
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* splitpanes */
.splitpanes__pane {
    transition: none !important;
}

.splitpanes__splitter {
    background-color: var(--split-color);
    transition: background-color 0.3s;
}

.splitpanes__splitter:hover {
    background-color: var(--split-color-hover);
}

.splitpanes--vertical > .splitpanes__splitter {
    min-width: 6px !important;
}

.splitpanes--horizontal > .splitpanes__splitter {
    min-height: 6px !important;
}

/* common */
ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}


/* svg text */
g.x6-edge-tool > text::selection {
    background-color: transparent;
}
